﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Janus.Cores.Globalization
{
    class EmptyResouceProvider : IResourcesProvider
    {

        public EmptyResouceProvider( string resouceName )
        {
                
        }

        public string GetString(string name)
        {
            return this.GetString(name, System.Threading.Thread.CurrentThread.CurrentUICulture);
        }

        public string GetString(string name, System.Globalization.CultureInfo culture)
        {
            return "{" + name + "}";
        }

        public object GetObject(string name)
        {
            throw new NotImplementedException();
        }

        public object GetObject(string name, System.Globalization.CultureInfo culture)
        {
            throw new NotImplementedException();
        }


        public IEnumerable<string> Keys {
            get { throw new NotImplementedException(); }
        }
    }
}
